package ai.people.netmon.warning.mapper;

import ai.people.netmon.framework.domain.warning.entity.WarningInfoMaterialDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ligua
* @description 针对表【warning_info_material_detail(预警信息素材库详情)】的数据库操作Mapper
* @createDate 2022-08-03 11:12:31
* @Entity ai.people.netmon.framework.domain.warning.entity.WarningInfoMaterialDetail
*/
public interface WarningInfoMaterialDetailMapper extends BaseMapper<WarningInfoMaterialDetail> {

    Integer deleteByMaterialId(Long materialId);

    Integer batchInsert(@Param("materialDetailList") List<WarningInfoMaterialDetail> materialDetailList);
}




